Clover icon

sunshower-sdk

  1. Project Clover database Wed Apr 4 2018 21:39:43 UTC
  2. Package io.sunshower.sdk.v1.model.core.security.builders

File AuthenticationBuilder.java

 

Coverage histogram

../../../../../../../../img/srcFileCovDistChart0.png
34% of files have more coverage

Code metrics

0
2
2
1
19
11
2
1
1
2
1

Classes

Class Line # Actions
AuthenticationBuilder 8 2 2
0.00%
 

Contributing tests

No tests hitting this source file were found.

Source view

1    package io.sunshower.sdk.v1.model.core.security.builders;
2   
3    import io.sunshower.sdk.v1.model.core.security.AuthenticationRequest;
4   
5    /**
6    * Created by haswell on 5/5/17.
7    */
 
8    public class AuthenticationBuilder {
9   
10    private final String username;
11   
 
12  0 toggle public AuthenticationBuilder(String username) {
13  0 this.username = username;
14    }
15   
 
16  0 toggle public AuthenticationRequest withPassword(String password) {
17  0 return new AuthenticationRequest(username, password);
18    }
19    }