Skip to content

Instantly share code, notes, and snippets.

Daniel DeGroff robotdan

Block or report user

Report or block robotdan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@robotdan
robotdan / logback.xml
Created Jul 10, 2019
FusionAuth log configuration with DEBUG enabled
View logback.xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="60 seconds">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
<encoder>
<pattern>%d{"MMM dd, yyyy h:mm:ss.SSS a"} %-5level %logger{75} - %msg%n</pattern>
</encoder>
</appender>
View OAuth1AuthorizationHeaderBuilder.java
/*
* Copyright (c) 2019, FusionAuth, All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
View SecurityTools.java
package com.inversoft.util;
import java.security.SecureRandom;
import java.util.Base64;
/**
* @author Daniel DeGroff
*/
public class SecurityTools {
View keybase.md

Keybase proof

I hereby claim:

  • I am robotdan on github.
  • I am robotdan (https://keybase.io/robotdan) on keybase.
  • I have a public key whose fingerprint is 0499 9BC2 9C8C 780F 621C AD2A 9C81 4FCA 8378 1BFB

To claim this, I am signing this object:

@robotdan
robotdan / passport-client-snippet.csharp
Last active May 25, 2016
PassportClient Code Snippets
View passport-client-snippet.csharp
/* Authenticate a User */
ClientResponse<LoginResponse, Errors> response = client.Login(
new LoginRequest(new Guid("00000000-0000-0000-0000-00000000002a"), "bob@example.com", null, "secret"), null);
User user = response.successResponse.user;
/* Retrieve User by Email Address */
ClientResponse<UserResponse, Errors> response = client.RetrieveUserByEmail("bob@example.com");
User user = response.successResponse.user;
You can’t perform that action at this time.