Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package edu.uiuc.ncsa.myproxy.oa4mp.oauth2;
 

Created by Jeff Gaynor
on 3/27/14 at 4:16 PM

public class OA2SE extends ServiceEnvironmentImpl {
    public OA2SE(MyLoggingFacade logger,
                 Provider<TransactionStoretsp,
                 Provider<ClientStorecsp,
                 int maxAllowedNewClientRequests,
                 long rtLifetime,
                 Provider<ClientApprovalStorecasp,
                 List<MyProxyFacadeProvidermfp,
                 MailUtilProvider mup,
                 MessagesProvider messagesProvider,
                 Provider<AGIssueragip,
                 Provider<ATIssueratip,
                 Provider<PAIssuerpaip,
                 Provider<TokenForgetfp,
                 HashMap<StringStringconstants,
                 AuthorizationServletConfig ac,
                 UsernameTransformer usernameTransformer) {
        super(logger,
                tsp,
                csp,
                maxAllowedNewClientRequests,
                casp,
                mfp,
                mup,
                messagesProvider,
                agip,
                atip,
                paip,
                tfp,
                constants,
                ac,
                usernameTransformer);
        if (0 < rtLifetime) {
            this. = rtLifetime;
        }
    }
    long rtLifetime = 15 * 24 * 3600 * 1000L;

    
The default if nothing is specified is 15 days.

Returns:
    public long getRefreshTokenLifetime() {
        return ;
    }
New to GrepCode? Check out our FAQ X